package com.zmj.sy.mom.srv.aps.bean.entity.order;


import com.baomidou.mybatisplus.annotation.TableName;
import com.zmj.sy.mom.srv.aps.bean.entity.base.BaseEntity;
import com.zmj.sy.mom.srv.aps.utils.Comment;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.LocalDate;

@Getter
@Setter
@Comment("基础-工作组-能力规则")
@TableName("tb_base_group_work_rule")
public class GroupWorkRule extends BaseEntity {

    @Comment("类型 1按时间段 3按天 ")
    private Integer type;

    @Comment("工作组ID")
    private Integer groupId;

    @Comment("规则")
    private String attr;

    @Comment("单班人员")
    private BigDecimal userCount;

    @Comment("工作能力")
    private BigDecimal workAbility;

    @Comment("所属天")
    private LocalDate day;

    @Comment("所属班次")
    private Integer shiftId;


}
